package com.example.resproject203204;

import android.app.Application;
import android.util.Log;

public class MyApplication extends Application {


    private static MyApplication INSTANCE;

    public static MyApplication getInstance() {
        return INSTANCE;
    }

    //应用启动的时候先走这onCreate
    @Override
    public void onCreate() {
        super.onCreate();
       INSTANCE=this;
        Log.i("AppLication","App 已经创建");

    }
}
